package com.qujia.station.domain.reportExcel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class InventoryReportDto implements Serializable {
    @ApiModelProperty(value = "油站名称")
    @Excel(name = "油站名称",orderNum = "1")
    private String stationName;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "商品名称")
    @Excel(name = "商品名称",width = 15,orderNum = "2")
    private String commodityName;

    @ApiModelProperty(value = "商品编码")
    @Excel(name = "商品编码",orderNum = "3")
    private String commodityCode;

    @ApiModelProperty(value = "商品条形码")
    @Excel(name = "商品条形码",orderNum = "4")
    private String barCode;

    @ExcelCollection(name = "期初", orderNum = "5")
    private List<StartPeriodDto> startPeriodDtoList;

    @ExcelCollection(name = "本期(+)", orderNum = "6")
    private List<AddPeriodDto> addPeriodDtoList;

    @ExcelCollection(name = "本期(-)", orderNum = "7")
    private List<ReducePeriodDto> reducePeriodDtoList;

    @ExcelCollection(name = "库存损益(+)", orderNum = "8")
    private List<InventoryPeriodDto> inventoryPeriodDtoList;

    @ExcelCollection(name = "结存", orderNum = "9")
    private List<LastPeriodDto> lastPeriodDtoList;

    @ApiModelProperty(value = "分类id")
    private Long categoryId;

    @ApiModelProperty(value = "分类编码")
    @Excel(name = "分类编码",orderNum = "11")
    private String categoryCode;

    @ApiModelProperty(value = "非油品分类名称")
    @Excel(name = "非油品分类名称",orderNum = "12")
    private String categoryName;

    @ApiModelProperty(value = "单位")
    @Excel(name = "单位",orderNum = "13")
    private String unit;

    @ApiModelProperty(value = "进货价格")
    @Excel(name = "进货价格",orderNum = "14")
    private BigDecimal retailPrice;

    @ApiModelProperty(value = "销售价格")
    @Excel(name = "销售价格",orderNum = "15")
    private BigDecimal salePrice;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    @Excel(name = "供应商名称",orderNum = "16")
    private String supplierName;

    @ApiModelProperty(value = "供应商编码")
    @Excel(name = "供应商编码",orderNum = "17")
    private String supplierCode;
}
